WP_Defender\Component\Two_Factor\Providers\Backup_Codes S

Total Complexity 42
Dependencies 2
Dependents 2
Total lines 391
Lines of code 190
Logical lines of code 83
Comment lines 110
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
user_options()
S
46 6 41
generate_codes()
S
52 6 23
admin_notices()
S
50 5 32
validate_code()
S
57 6 16
get_unused_codes_for_user()
S
67 3 7
init_provider()
S
69 2 6
get_code()
S
65 2 8
validate_authentication()
S
64 2 10
is_available_for_user()
S
71 2 6
authentication_form()
S
65 1 11
get_description()
S
82 1 3
get_user_label()
S
79 1 3
get_login_label()
S
81 1 3
delete_code()
S
68 1 7
display_number_of_codes()
S
71 1 6
get_label()
S
79 1 3
__construct()
S
71 1 5